![]() |
DrawThemeMenuBarBackground |
||||
Header: | Appearance.h | Carbon status: | Supported | |
Draws a menu bar background.
OSStatus DrawThemeMenuBarBackground ( const Rect *inBounds, ThemeMenuBarState inState, UInt32 inAttributes );
A pointer to a structure of type Rect. Before calling DrawThemeMenuBarBackground, set the rectangle to specify the menu bar’s initial size and location, in global coordinates.
A value of type ThemeMenuBarState. Pass a constant specifying the state (active or selected) in which to draw the menu bar; see
Reserved. Pass 0.
A result code.
The DrawThemeMenuBarBackground function draws a theme-compliant menu bar background in the specified rectangle.
This function is available with Appearance Manager 1.0.1 and later.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)